#ifndef TREE_H 
#define TREE_H 

static int MAX_CHAR = 255;

struct node 
{  
	char* item;
	int count;
	struct node* left;  
	struct node* right;
};


typedef struct node* tree;

void init(tree*);
int  destroy_t(tree*);
int isEmpty(tree );
int insert(tree*, char*);
int cerca(tree, char*);
int print_pre(tree);
int print_post(tree);
int print_in(tree);
int print_rev(tree);

int cverb(char*);


int insertOrderParole(tree*,int,char*);
int print_insert_OrderParole(tree,tree*);


#endif
